{if condition="$useLayer" }
<a class="btn {$class} action-{$name}" id="{$id}" data-id="{$dataId}" href="javascript:;" data-url="{$href}" onclick="layerOpen(this);return false;" {$attr|raw}>
        {if condition="$icon"}<i class="mdi {$icon}"></i>{/if}{$label|raw}
</a>
{else/}
<a class="btn {$class} action-{$name}" id="{$id}" data-id="{$dataId}" href="{$href}" {$attr|raw}>
        {if condition="$icon"}<i class="mdi {$icon}"></i>{/if}{$label|raw}
</a>
{/if}